package com.shopmall.manager.service.impl;

import com.shopmall.common.log.service.AsyncOperateLogService;
import com.shopmall.manager.mapper.SysOperateLogMapper;
import com.shopmall.model.entity.system.SysOperLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AsyncOperateLogServiceImpl implements AsyncOperateLogService {
    @Autowired
    private SysOperateLogMapper sysOperateLogMapper;

    // 保存日志数据
    @Override
    public void saveSysOperateLog(SysOperLog sysOperLog) {
        sysOperateLogMapper.insert(sysOperLog);
    }
}
